package route

import (
	"core/repo"
	"framework/node"
	"hall/handler"
)

/*
*hall.userHandler.updateUserAddress {address: '{"x":90.869,"y":37.442}', location: ”}address: "{\"x\":90.869,\"y\":37.442}"location: ""[[Prototype]]: Object
connector注册业务处理器handler
*/
func Register(r *repo.Manager) node.LogicHandler {
	handlers := make(node.LogicHandler)
	userHandler := handler.NewUserHandler(r)
	handlers["userHandler.updateUserAddress"] = userHandler.UpdateUserAddress
	return handlers
}
